package com.jctrip.hotel.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 渠道账户信息表(ht_route_info)表实体类
 *
 * @author makejava
 * @since 2023-06-17 16:22:44
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class HtRouteInfo extends BaseEntity {

    //渠道编号
    private String routeCode;
    //渠道名称
    private String routeName;
    //渠道账户id
    private String routeId;
    //渠道账户秘钥
    private String routeSecret;
    //联系电话
    private String contactTel;
    //联系邮箱
    private String contactEmail;
    //渠道类型(0=测试；1=自有；2=外部)
    private Integer routeType;
    //渠道状态(0=关闭；1=正常)
    private Integer routeStatus;
    //价格模式(0=卖价模式；1=底价模式)
    private Integer priceType;
    //自动处理订单开关(0=关闭；1=正常)
    private Integer autoOrderSwitch;
    //自动处理订单价格区间最低值
    private BigDecimal autoOrderPriceMin;
    //自动处理订单价格区间最高值
    private BigDecimal autoOrderPriceMax;
    //订单默认联系方式
    private String defaultOrderContact;
    //第三方应用id
    private String thirdAppId;
    //第三方应用秘钥
    private String thirdSecret;
    //账户额度
    private BigDecimal accountCredit;
    //账户额度预警
    private BigDecimal minimum;
    //钉钉机器人
    private String dingTalkRobot;
    //拓展信息(JSON格式)
    private String extra;
    //session失效时间
    private Date loseTime;
    //操作账户
    private String operator;
}
